<?php

// +----------------------------------------------------------------------
// | Copyright (c) 2020 All rights reserved.
// +----------------------------------------------------------------------
// | User: Simony <1362229026@qq.com>
// | wechat: Shen86579595
// +----------------------------------------------------------------------
namespace app\admin\validate;
use think\Validate;

class Message extends Validate
{
    protected $rule = [
        'relation_member_id' => 'require|number',
        'create_time' => 'require|number',
    ];
    protected $message = [
        'member_id.require' => '发帖会员：-1代表系统用户必须',
        'receive_member_id.require' => '接收会员：-1代表给所有用户发送消息必须',
        'content.require' => '内容必须',
    ];
}